import service from '@/service/request';

export function getCatList() {
  return service({
    url: 'playlist/catlist',
  });
}
export function getPlayList(limit: number, cat: string) {
  return service({
    url: '/top/playlist',
    params: {
      limit,
      cat,
      order: 'hot',
    },
  });
}
